Skip to content

Fix: common_sub_expression_eliminate optimizer rule failed #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: release-42.0.0
Choose a base branch
from

Conversation

Col-Waltz
Copy link

Common_sub_expression_eliminate rule failed with error:
SchemaError(FieldNotFound {field: <name>}, valid_fields: []})
due to the schema being changed by the second application of find_common_exprs.

Used NamePreserver mechanism to restore original schema name and generate Projection with original names at the end of aggregate optimization.

Common_sub_expression_eliminate rule failed with error:
`SchemaError(FieldNotFound {field: <name>}, valid_fields: []})`
due to the schema being changed by the second application of
`find_common_exprs`.

Used NamePreserver mechanism to restore original schema name and
generate Projection with original names at the end of
aggregate optimization.
@Col-Waltz Col-Waltz force-pushed the col_waltz/cse_eliminate_fix branch from f823a32 to 06cdc9f Compare April 25, 2025 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant